package com.niiwoo.civet.user.service;

import com.niiwoo.civet.user.dto.response.BorrowerInfoResponseDTO;
import com.niiwoo.civet.user.dto.response.credit.*;

/**
 * 天秤数据服务
 * Created by dell on 2017/12/6.
 * Description：civet-parent
 */
public interface TianchengDataDubboService {

    /**
     * 请求天秤借款人信息
     * @param mobilePhone
     * @param realName
     * @param identityCard
     * @param userId
     * @return
     */
    default BorrowerInfoResponseDTO postBorrowerInfo(String mobilePhone, String realName, String identityCard,String userId){ return null; };

    
    /**
     * 获取天秤授信基本信息，包括用户基本信息/工作信息/紧急联系人
     * @param userId 用户ID
     * @return
     */
    default TianchengCreditBaseInfoResponseDTO getUserTianchengCreditBaseInfo(String userId){
        return null;
    }

    /**
     * 获取天秤用户基本信息
     * @param userId
     * @return
     */
    default BasicInfoDTO getBasicInfo(String userId){
        return null;
    }

    /**
     * 查询用户天秤额度评分卡所需参数
     * @param userId
     * @param headFunctionCode
     * @return
     */
    default CreditScoreCardDTO queryCreditScoreCardParam(String userId, String headFunctionCode){
        return null;
    }

    default SocialSecurityTeCreditScoreCardDTO queryCreditScoreCardParamForSocialSecurityTe(String userId){return null;}

    default CreditCardTeCreditScoreCardDTO queryCreditScoreCardParamForCreditCardTe(String userId){return null;}
}
